﻿using System.Collections.Generic;
using ZilLion.Service.WeChatMall.Domain.Entitys.Cust;

namespace ZilLion.Service.WeChatMall.Domain.Repositorys.Interface
{
    public interface ICustAddressRepository
    {
        IEnumerable<CustAddressEntity> GetAddressList(long custid);
        CustAddressEntity SaveAddress(CustAddressEntity entity);
        CustAddressEntity GetDefaultAddress(string adcode, long custid);
        CustAddressEntity SetDefaultAddress(long addressid);
        CustAddressEntity GetAddress(long addressid);
        void RemoveAddress(CustAddressEntity entity);
    }
}